Goto

Collaborating Authors

 theano code


[Research]Vanilla Theano code to reproduce Keras model does not match as expected. What am I missing? • /r/MachineLearning

@machinelearnbot

I find Keras a very useful and well done tool. It is perfect to start using Theano and it is really easily understandable and usable. Now, I realised a Keras model (using Theano interface), which works perfectly well and I would like to replicate it using only Theano code. Since Keras is actually using Theano code, I should be able, in principle, to do this. The neural net is a convolutional neural network for a one output regression task, with the following layers: conv2d, maxpool2d, conv2d, maxpool2d, dense, dense, output and using Adam optimizer.